package com.pactera.asmp.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.pactera.asmp.server.entity.TaskErrorVideoDataDTO;
import com.pactera.asmp.server.pojo.TestReportErrorVideoInfo;
import com.pactera.asmp.server.pojo.TestReportErrorVideoInfoExample;

@Mapper
public interface TestReportErrorVideoInfoMapper {
    long countByExample(TestReportErrorVideoInfoExample example);

    int deleteByExample(TestReportErrorVideoInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TestReportErrorVideoInfo record);

    int insertSelective(TestReportErrorVideoInfo record);

    List<TestReportErrorVideoInfo> selectByExample(TestReportErrorVideoInfoExample example);

    TestReportErrorVideoInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TestReportErrorVideoInfo record, @Param("example") TestReportErrorVideoInfoExample example);

    int updateByExample(@Param("record") TestReportErrorVideoInfo record, @Param("example") TestReportErrorVideoInfoExample example);

    int updateByPrimaryKeySelective(TestReportErrorVideoInfo record);

    int updateByPrimaryKey(TestReportErrorVideoInfo record);

    List<TaskErrorVideoDataDTO> summaryErrorVideoInfoByProjectId(@Param("projectId") Integer projectId, @Param("masterComputerId") Integer masterComputerId);
}